﻿<script type="text/mustache-template" id="OrderMakeTemplate">
    <div id="OrderMake">
        {{>header}}
        <div class="scroll-wrapper" id="OrderMakeWrapper">
            <div class="scroll-inner">
            <div class='innerTitle'>填写订单</div>
            <div class="red" id="OrderMakeError"></div>
            <div class='ordermake pad-6'>
                <h3>收货人信息</h3>
                <ul class='address'>
                    
                </ul>
                <h3>支付方式</h3>
                <ul class='payment'>
                    
                </ul>
                <h3>配送方式</h3>
                <ul class='dispatchmode'>
                    
                </ul>
                <h3>发票信息</h3>
                <ul class='invoice'>
                    <li>填写发票信息<span class="menu-botton-arrow"></span></li>
                </ul>
                <ul class='coupon'>
                    <li>
                        优惠券
                        <span class="menu-botton-arrow"></span>
                    </li>
                </ul>
                <ul class='remark'>
                    <li>
                        <label>给商家留言</label>
                        <p><textarea name="order.remark" id='order_remark' value="" style="height:50px;" class="common-input"></textarea></p>
                    </li>
                </ul>
                <ul class='outofstock'>
                    <li>
                        <label>缺货处理</label>
                        <p><textarea name="order.outofstock" id='order_outofstock' value="" style="height:50px;" class="common-input"></textarea></p>
                    </li>
                </ul>
                <div class='pay-cart'>
                    计算订单金额失败！尝试返回重新结算！
                </div>
                <!--<div><input type="submit" id="CalculateBtn" name="CalculateBtn" value='计算金额' class='ui-button ui-button-yellow'/></div>-->
                <div><input type="submit" id="PayCartBtn" name="PayCartBtn" value='提交' class='ui-button'/></div>
            </div>
            {{>footer}}
            </div>
        </div>
    </div>
</script>

<script type="text/mustache-template" id="OrderMakeAddressTemplate">
    <li class='small'>
    收货人：{{NAME}}<br>
    收货地址：{{Address}}<br>
    联系电话:{{#Mobile}}{{Mobile}}{{/Mobile}}{{^Mobile}}{{Tel}}{{/Mobile}}<br>
    <span class="menu-botton-arrow"></span></li>
</script>

<script type="text/mustache-template" id="OrderMakePaymentTemplate">
    <li>{{NAME}}
    <span class="menu-botton-arrow"></span></li>
</script>

<script type="text/mustache-template" id="OrderMakeDispatchModeTemplate">
    <li>{{NAME}}
    <span class="menu-botton-arrow"></span></li>
</script>

<script type="text/mustache-template" id="OrderMakeInvoiceTemplate">
    <li>
    发票类型：{{InvoiceType}}<br>
    发票抬头：{{InvoiceHeader}}<br>
    发票内容：{{InvoiceContent}}
    <span class="menu-botton-arrow"></span></li>
</script>

<script type="text/mustache-template" id="CalculatePriceTemplate">
    商品金额： {{ProductPrice}}元<br>
    +配送费用： <span id='dispatchPrice'>{{DispatchPrice}}元</span><br>
    +发票税额： <span id='invoiceTax'>{{InvoiceTax}}元</span><br>
    +包装费用： {{PackPrice}}元<br>
    +贺卡费用： {{BlessCardPrice}}元<br>
    +保价费用： <span id='insurePrice'>{{InsurePrice}}元</span><br>
    +支付手续费： <span id='paymentPrice'>{{PaymentPrice}}元</span><br>
    -折扣优惠： <span id='discount'>{{Discount}}元</span><br>
    订单总额： ￥{{orderPrice}}元<br>
    -使用余额： {{SurplusPrice}}元<br>
    -优惠券抵用金额： <span id='activeContent'>{{ActvieContent}}元</span><br>
    -使用积分： {{ScorePrice}}元<br>
    应付总额： <span class='red'>￥{{ShouldPayPrice}}元</span>
</script>